Examine the following function for continuity: $f(x) = |x - 5|$.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
The given function is $f(x) = |x - 5| = \begin{cases} 5 - x, & \text{if } x < 5 \\ x - 5, & \text{if } x \ge 5 \end{cases}$.
This function $f$ is defined for all real numbers.
Let $c$ be any real number. Then $c < 5$,$c = 5$,or $c > 5$.
Case $I$: $c < 5$.
Then $f(c) = 5 - c$.
$\lim_{x \to c} f(x) = \lim_{x \to c} (5 - x) = 5 - c$.
Since $\lim_{x \to c} f(x) = f(c)$,$f$ is continuous for all $c < 5$.
Case $II$: $c = 5$.
Then $f(5) = 5 - 5 = 0$.
Left-hand limit: $\lim_{x \to 5^-} f(x) = \lim_{x \to 5} (5 - x) = 5 - 5 = 0$.
Right-hand limit: $\lim_{x \to 5^+} f(x) = \lim_{x \to 5} (x - 5) = 5 - 5 = 0$.
Since $\lim_{x \to 5^-} f(x) = \lim_{x \to 5^+} f(x) = f(5)$,$f$ is continuous at $x = 5$.
Case $III$: $c > 5$.
Then $f(c) = c - 5$.
$\lim_{x \to c} f(x) = \lim_{x \to c} (x - 5) = c - 5$.
Since $\lim_{x \to c} f(x) = f(c)$,$f$ is continuous for all $c > 5$.
Conclusion: Since $f$ is continuous at all real numbers,it is a continuous function.

Explore More

Similar Questions

Consider $f(x) = \left[ \frac{2(\sin x - \sin^3 x) + |\sin x - \sin^3 x|}{2(\sin x - \sin^3 x) - |\sin x - \sin^3 x|} \right]$ for $x \in (0, \pi), x \neq \frac{\pi}{2}$,and $f(\frac{\pi}{2}) = 3$,where $[ \cdot ]$ denotes the greatest integer function. Then:

The number of points of discontinuity of the function $f(x) = [\frac{x^2}{2}] - [\sqrt{x}]$ for $x \in [0, 4]$, where $[\cdot]$ denotes the greatest integer function, is:

For real $x$ with $-10 \leq x \leq 10$,define $f(x) = \int_{-10}^x 2^{[t]} dt$,where for a real number $r$,we denote by $[r]$ the greatest integer less than or equal to $r$. The number of points of discontinuity of $f$ in the interval $(-10, 10)$ is

If the function $f(x) = \left( \frac{5x - 8}{8 - 3x} \right)^{\frac{3}{2x-4}}$ for $x \neq 2$ is continuous at $x = 2$, then the value of $f(2)$ is...

If $f: R \rightarrow R$ is a function defined by $f(x)=[x-1] \cos \left(\frac{2 x-1}{2}\right) \pi,$ where $[.]$ denotes the greatest integer function,then $f$ is

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo